package org.jeecg.modules.cw.service;

import org.jeecg.modules.cw.entity.CwJbsrys;
import org.jeecg.modules.cw.entity.CwJbsrysTj;
import com.baomidou.mybatisplus.extension.service.IService;
import java.io.Serializable;
import java.util.Collection;
import java.util.List;

/**
 * @Description: 基本收入预算明细提交表
 * @Author: jeecg-boot
 * @Date:   2025-09-15
 * @Version: V1.0
 */
public interface ICwJbsrysTjService extends IService<CwJbsrysTj> {

	/**
	 * 添加一对多
	 *
	 * @param cwJbsrysTj
	 * @param cwJbsrysList
	 */
	public void saveMain(CwJbsrysTj cwJbsrysTj,List<CwJbsrys> cwJbsrysList) ;
	
	/**
	 * 修改一对多
	 *
	 * @param cwJbsrysTj
	 * @param cwJbsrysList
	 */
	public void updateMain(CwJbsrysTj cwJbsrysTj,List<CwJbsrys> cwJbsrysList);
	
	/**
	 * 删除一对多
	 *
	 * @param id
	 */
	public void delMain (String id);
	
	/**
	 * 批量删除一对多
	 *
	 * @param idList
	 */
	public void delBatchMain (Collection<? extends Serializable> idList);
	
}
